package com.meilai.project.vo.finance.contractManage;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class ContractCustomerVO {

    @ApiModelProperty("合同id")
    private Long id;

    @ApiModelProperty("行业名称")
    private String industry_name;

    @ApiModelProperty("合同编号")
    private String contract_num;

    @ApiModelProperty("合同的开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contract_begin_date;

    @ApiModelProperty("合同的结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contract_end_date;

    @ApiModelProperty("甲方名称")
    private String party_a;

    @ApiModelProperty("客户名称/项目名称")
    private String customer_name;

    @ApiModelProperty("公司抬头")
    private String company_head;

    @ApiModelProperty("合同金额")
    private BigDecimal contract_amount;

    @ApiModelProperty("是否收到合同结算材料")
    private Boolean receive_contract;

    @ApiModelProperty("合同入档编号")
    private String contract_filing_no;

    @ApiModelProperty("往年已收金额")
    private BigDecimal amount_received_in_previous_years;

    @ApiModelProperty("往年置换金额")
    private BigDecimal displace_amount_from_previous_years;

    @ApiModelProperty("往年置换消费金额")
    private BigDecimal displace_consume_amount_from_previous_years;

    @ApiModelProperty("今年已现金金额")
    private BigDecimal amount_this_year;

    @ApiModelProperty("今年已置换金额")
    private BigDecimal displace_amount_this_year;

    @ApiModelProperty("今年已置换消费金额")
    private BigDecimal displace_consume_amount_this_year;

    @ApiModelProperty("今年开票增项金额")
    private BigDecimal additional_amount_this_year;

    @ApiModelProperty("今年应收现金金额")
    private BigDecimal amount_of_cash_receivable_for_this_year;

    @ApiModelProperty("今年应收置换消费金额")
    private BigDecimal amount_of_replacement_consumption_receivable_this_year;

    @ApiModelProperty("今年应收置换金额")
    private BigDecimal amount_replacement_receivable_this_year;

    @ApiModelProperty("维护人名称")
    private String maintenance_staff_name;

    @ApiModelProperty("负责人名称")
    private String person_in_charge_name;
}
